/*
 * drawing.h
 *
 *  Created on: Sep 20, 2012
 *      Author: andrey
 */

#ifndef DRAWING_H_
#define DRAWING_H_

/**
  * @brief LCD default font
  */
#define LCD_DEFAULT_FONT         Font16x24

#include <stdint.h>
#include "ui_constants.h"

void LCD_DisplayStringLine(uint16_t xCoord, uint16_t Line, char *ptr);

void LCD_DrawLine(uint16_t Xpos, uint16_t Ypos, uint16_t Length, uint8_t Direction);
void LCD_DrawRect(uint16_t Xpos, uint16_t Ypos, uint8_t Height, uint16_t Width);
void LCD_DrawCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius);
void LCD_DrawUniLine(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2);
void LCD_DrawFullRect(uint16_t Xpos, uint16_t Ypos, uint16_t Width, uint16_t Height);
void LCD_DrawFullCircle(uint16_t Xpos, uint16_t Ypos, uint16_t Radius);
void LCD_PolyLine(pPoint Points, uint16_t PointCount);
void LCD_PolyLineRelative(pPoint Points, uint16_t PointCount);
void LCD_ClosedPolyLine(pPoint Points, uint16_t PointCount);
void LCD_ClosedPolyLineRelative(pPoint Points, uint16_t PointCount);
void LCD_FillPolyLine(pPoint Points, uint16_t PointCount);
void LCD_SetColors(uint16_t _TextColor, uint16_t _BackColor);
void LCD_GetColors(uint16_t *_TextColor, uint16_t *_BackColor);
void LCD_SetTextColor(uint16_t Color);
void LCD_SetBackColor(uint16_t Color);


#endif /* DRAWING_H_ */
